package com.k.demo.entity;

public class ShoppingCartDetail {
	
	private Integer shopping_cart_detail_id;
	private Integer shopping_cart_id;
	private Integer food_id;
	private Integer food_amount;
	private double total_cost;
	private String detail_attach;
	private Integer is_delete;
	public ShoppingCartDetail(Integer shopping_cart_detail_id, Integer shopping_cart_id, Integer food_id,
			Integer food_amount, double total_cost, String detail_attach, Integer is_delete, Food food,
			String detail_attachString) {
		super();
		this.shopping_cart_detail_id = shopping_cart_detail_id;
		this.shopping_cart_id = shopping_cart_id;
		this.food_id = food_id;
		this.food_amount = food_amount;
		this.total_cost = total_cost;
		this.detail_attach = detail_attach;
		this.is_delete = is_delete;
		this.food = food;
		this.detail_attachString = detail_attachString;
	}
	@Override
	public String toString() {
		return "ShoppingCartDetail [shopping_cart_detail_id=" + shopping_cart_detail_id + ", shopping_cart_id="
				+ shopping_cart_id + ", food_id=" + food_id + ", food_amount=" + food_amount + ", total_cost="
				+ total_cost + ", detail_attach=" + detail_attach + ", is_delete=" + is_delete + ", food=" + food
				+ ", detail_attachString=" + detail_attachString + "]";
	}
	public String getDetail_attachString() {
		return detail_attachString;
	}
	public void setDetail_attachString(String detail_attachString) {
		this.detail_attachString = detail_attachString;
	}

	private Food food;
	public Food getFood() {
		return food;
	}
	public void setFood(Food food) {
		this.food = food;
	}

	private String detail_attachString;
	
	
	public ShoppingCartDetail(Integer shopping_cart_detail_id, Integer shopping_cart_id, Integer food_id,
			Integer food_amount, double total_cost, Integer is_delete, String detail_attachString) {
		super();
		this.shopping_cart_detail_id = shopping_cart_detail_id;
		this.shopping_cart_id = shopping_cart_id;
		this.food_id = food_id;
		this.food_amount = food_amount;
		this.total_cost = total_cost;
		this.is_delete = is_delete;
		this.detail_attachString = detail_attachString;
	}




	public Integer getShopping_cart_detail_id() {
		return shopping_cart_detail_id;
	}



	public void setShopping_cart_detail_id(Integer shopping_cart_detail_id) {
		this.shopping_cart_detail_id = shopping_cart_detail_id;
	}



	public Integer getShopping_cart_id() {
		return shopping_cart_id;
	}



	public void setShopping_cart_id(Integer shopping_cart_id) {
		this.shopping_cart_id = shopping_cart_id;
	}



	public Integer getFood_id() {
		return food_id;
	}



	public void setFood_id(Integer food_id) {
		this.food_id = food_id;
	}



	public Integer getFood_amount() {
		return food_amount;
	}



	public void setFood_amount(Integer food_amount) {
		this.food_amount = food_amount;
	}



	public double getTotal_cost() {
		return total_cost;
	}



	public void setTotal_cost(double total_cost) {
		this.total_cost = total_cost;
	}





	public String getDetail_attach() {
		return detail_attach;
	}
	public void setDetail_attach(String detail_attach) {
		this.detail_attach = detail_attach;
	}

	public Integer getIs_delete() {
		return is_delete;
	}



	public void setIs_delete(Integer is_delete) {
		this.is_delete = is_delete;
	}

	public ShoppingCartDetail() {
		super();
		// TODO Auto-generated constructor stub
	}
}
